]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ibusCandidatePopup: Init it as a top chrome
authorAlynx Zhou <alynx.zhou@gmail.com>
Mon, 4 Jul 2022 03:57:36 +0000 (11:57 +0800)
committerMarge Bot <marge-bot@gnome.org>
Mon, 4 Jul 2022 13:38:15 +0000 (13:38 +0000)
ibusCandidatePopup actually works as a top chrome because it always
raises itself above top_window_group when updating visibility, so just
initing it as a top chrome instead of initing it below top_window_group.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2331>

js/ui/ibusCandidatePopup.js

index 340f9a8e1a41f1f63ac3d65324d2f99c30a62312..2a34144d591577f85467014ba26e252cadb6940a 100644 (file)
@@ -153,7 +153,7 @@ class IbusCandidatePopup extends BoxPointer.BoxPointer {
         this._dummyCursor = new Clutter.Actor({ opacity: 0 });
         Main.layoutManager.uiGroup.add_actor(this._dummyCursor);
 
-        Main.layoutManager.addChrome(this);
+        Main.layoutManager.addTopChrome(this);
 
         const box = new St.BoxLayout({
             style_class: 'candidate-popup-content',